package org.jeecg.modules.demo.socket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: zy_app_info
 * @Author: jeecg-boot
 * @Date:   2023-07-15
 * @Version: V1.0
 */
@Data
@TableName("zy_app_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="zy_app_info对象", description="zy_app_info")
public class ZyAppInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**用户id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "用户id")
    private String id;
	/**dynamicId*/
	@Excel(name = "dynaId", width = 15)
    @ApiModelProperty(value = "dynaId")
    private String dynaId;
	/**userId*/
	@Excel(name = "userId", width = 15)
    @ApiModelProperty(value = "userId")
    private String userId;
	/**remark*/
	@Excel(name = "state", width = 15)
    @ApiModelProperty(value = "state")
    private String state;

    public ZyAppInfo() {
    }

    public ZyAppInfo(String dynaId, String userId) {
        this.dynaId = dynaId;
        this.userId = userId;
    }
}
